package com.tour.modules.web.service;

import java.util.List;
import java.util.Map;

import com.tour.modules.web.entity.TWorkOrderEntity;
import com.tour.modules.web.vo.TWorkOrderVo;

/**
 * 留言表
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-01-06 22:44:15
 */
public interface TWorkOrderService {

	TWorkOrderEntity queryObject(Long id);

	List<TWorkOrderEntity> queryList(Map<String, Object> map);

	int queryTotal(Map<String, Object> map);

	void save(TWorkOrderEntity tWorkOrder);

	void update(TWorkOrderEntity tWorkOrder);

	void delete(Long id);

	void deleteBatch(Long[] ids);

	/**
	 * 查询所有留言信息
	 * 
	 * @param query
	 * @return
	 */
	List<TWorkOrderVo> queryListAll(Map<String, Object> params);
}
